﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="AdminEdit.aspx.cs" EnableEventValidation="false" Inherits="zjbks.AdminEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="server">
    <div class="widget am-cf">
        <div class="widget-head am-cf">
            <div class="widget-title  am-cf">文章列表</div>


        </div>
        <div class="widget-body  am-fr">

            <div class="am-u-sm-12 am-u-md-9 am-u-lg-6">
                <div class="am-form-group">
                    <div class="am-btn-toolbar">
                        <div class="am-btn-group am-btn-group-xs">
                            <asp:HyperLink ID="HyperLink1" CssClass="am-btn am-btn-default am-btn-success" runat="server" NavigateUrl="~/AdminAdd.aspx">新增</asp:HyperLink>
                        </div>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-3 am-u-lg-3">
                <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                    <input type="text" id="zh" class="am-form-field " runat="server" placeholder="输入查询账号"/>
                    <span class="am-input-group-btn">
                        <asp:Button ID="Button1" CssClass="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search" runat="server" Text="查询" OnClick="Button1_Click" />
                    </span>
                </div>
            </div>

            <div class="am-u-sm-12">
                <asp:GridView ID="GridView1" CssClass="am-table am-table-compact am-table-striped tpl-table-black" runat="server" AutoGenerateColumns="False" DataKeyNames="Id" OnRowCommand="GridView1_RowCommand" OnRowCreated="GridView1_RowCreated">
                    <Columns>
                        <asp:BoundField DataField="UserName" HeaderText="账号" />
                        <asp:BoundField DataField="TrueName" HeaderText="姓名" />
                        <asp:BoundField DataField="LinkTelephone" HeaderText="联系电话" />
                        <asp:BoundField DataField="LoginTimes" HeaderText="访问次数" />
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lb1" CommandName="edit" runat="server">编辑</asp:LinkButton>||
                                <asp:LinkButton ID="lb2" CommandName="del" runat="server" OnClientClick="javascript:return confirm('确定删除吗?');">删除</asp:LinkButton>||
                                <asp:LinkButton ID="lb3" CommandName="reset" runat="server" ToolTip="重置当前用户的密码">重置</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>

</asp:Content>
